import {createStore} from 'vuex'

export default createStore({
    state: {
        level: null,
        mail: null,
        username: null,
        grade: null
    },
    mutations: {
        level(state, level) {
            state.level = level;
        },
        mail(state, mail) {
            state.mail = mail;
        },
        username(state, username) {
            state.username = username;
        },
        grade(state, grade) {
            state.grade = grade;
        }
    },
    actions: {},
    modules: {}
})
